/*******************************************************************************
 * Package: com.hngtrust.iir.user.controller.vo
 * Type:    ViemGroupVO
 * Date:    2021/3/16 20:12
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.user.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 分组数据请求
 *
 * @author Keqiwei
 * @date 2021/3/16 20:12
 */
@ApiModel(description = "分组数据请求")
@Data
public class ViewGroupVO {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 分组名
     */
    
    @NotBlank(message = "分组名不能为空")
    @ApiModelProperty(value = "分组名")
    @Size(min = 1,max = 20,message = "分组名不能超过20字")
    private String name;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;
}
